package model.quadtree;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.List;


public class MainQuadTree {
	public static void main(String[] args) {
		Node root = new Node(Type.WHITE, new Point(21, 1), new Point(1, 17));
		root.makeChildren();
		QuadTree tree = new QuadTree(root);
		List<Rectangle> obstacles = new ArrayList<Rectangle>();
		obstacles.add(new Rectangle(2, 10, 8, 6));
		obstacles.add(new Rectangle(17, 2, 2, 1));
		obstacles.add(new Rectangle(15, 6, 2, 5));
		tree.verifyGreys(obstacles);
	}  
}
